#ifndef stuff_hpp
#define stuff_hpp

#include <allegro.h>
#include "eq.hpp"

class cStuff
{
	public:
        int weapon;// ID broni
        int armor;// ID zbroji
        int pants;// ID spodni
        int helmet;// ID helmu
        int boots;// ID butow
        int ring;// ID pierscienia
        int necklace;// ID naszyjnika
        int earrings;// ID kolczykow
        int gloves;// ID rekawiczek
        int shield;// ID tarczy

        void dressUpItem();// zakladanie itemka
        void dressDownItem();// sciaganie itemka

        void draw(BITMAP * bufor);

		cStuff(int x, int y, cItemResources * resPointer);
		~cStuff();

	protected:

	private:
        cItemResources * itemInfo;
        sPoint * pos;
        BITMAP * img;
};

#define WEAPON_X 12
#define WEAPON_Y 126

#define ARMOR_X 58
#define ARMOR_Y 77

#define PANTS_X 58
#define PANTS_Y 126

#define HELMET_X 58
#define HELMET_Y 20

#define BOOTS_X 58
#define BOOTS_Y 215

#define RING_X 119
#define RING_Y 4

#define NECKLACE_X 58
#define NECKLACE_Y 49

#define EARRINGS_X 119
#define EARRINGS_Y 33

#define GLOVES_X 119
#define GLOVES_Y 62

#define SHIELD_X 110
#define SHIELD_Y 126

#endif
